package com.zut.service;

import com.zut.entity.Course;

import java.util.List;

/**
 * 课程的业务接口
 */
public interface CourseService {
    boolean addCourse(String cname);

    List<Course> findAllCourse();

    List<Course> findCourseLikeCname(String cname);

    boolean updateCourse(String cid, String newcname);

    void deleteCourse(String cid);

    Course findCourseByTid(String tid);
}
